<div class="users index">
	<h2><?php echo __('Users');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('user_id');?></th>
			<th><?php echo $this->Paginator->sort('user_name');?></th>
			<th><?php echo $this->Paginator->sort('password');?></th>
			<th><?php echo $this->Paginator->sort('email');?></th>
			<th><?php echo $this->Paginator->sort('phone');?></th>
			<th><?php echo $this->Paginator->sort('first_name');?></th>
			<th><?php echo $this->Paginator->sort('last_name');?></th>
			<th><?php echo $this->Paginator->sort('gender');?></th>
			<th><?php echo $this->Paginator->sort('interested');?></th>
			<th><?php echo $this->Paginator->sort('birthday');?></th>
			<th><?php echo $this->Paginator->sort('public_birthday');?></th>
			<th><?php echo $this->Paginator->sort('public_gender');?></th>
			<th><?php echo $this->Paginator->sort('blood_type');?></th>
			<th><?php echo $this->Paginator->sort('current_city');?></th>
			<th><?php echo $this->Paginator->sort('current_country');?></th>
			<th><?php echo $this->Paginator->sort('url_image');?></th>
			<th><?php echo $this->Paginator->sort('latitude');?></th>
			<th><?php echo $this->Paginator->sort('longitude');?></th>
			<th><?php echo $this->Paginator->sort('delete_flag');?></th>
			<th><?php echo $this->Paginator->sort('register_model');?></th>
			<th><?php echo $this->Paginator->sort('register_date');?></th>
			<th><?php echo $this->Paginator->sort('about');?></th>
			<th><?php echo $this->Paginator->sort('is_private');?></th>
			<th><?php echo $this->Paginator->sort('facebook_id');?></th>
			<th><?php echo $this->Paginator->sort('facebook_token');?></th>
			<th><?php echo $this->Paginator->sort('twitter_id');?></th>
			<th><?php echo $this->Paginator->sort('twitter_token');?></th>
			<th><?php echo $this->Paginator->sort('twitter_secret');?></th>
			<th><?php echo $this->Paginator->sort('logout_time');?></th>
			<th class="actions"><?php echo __('Actions');?></th>
	</tr>
	<?php
	foreach ($users as $user): ?>
	<tr>
		<td><?php echo h($user['User']['user_id']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['user_name']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['password']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['email']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['phone']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['first_name']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['last_name']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['gender']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['interested']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['birthday']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['public_birthday']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['public_gender']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['blood_type']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['current_city']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['current_country']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['url_image']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['latitude']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['longitude']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['delete_flag']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['register_model']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['register_date']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['about']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['is_private']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['facebook_id']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['facebook_token']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['twitter_id']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['twitter_token']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['twitter_secret']); ?>&nbsp;</td>
		<td><?php echo h($user['User']['logout_time']); ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $user['User']['user_id'])); ?>
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $user['User']['user_id'])); ?>
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $user['User']['user_id']), null, __('Are you sure you want to delete # %s?', $user['User']['user_id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	</p>

	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New User'), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Blockers'), array('controller' => 'blockers', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Blocker'), array('controller' => 'blockers', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Comments'), array('controller' => 'comments', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Comment'), array('controller' => 'comments', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Followings'), array('controller' => 'followings', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Following'), array('controller' => 'followings', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Friends'), array('controller' => 'friends', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Friend'), array('controller' => 'friends', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Notification Settings'), array('controller' => 'notification_settings', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Notification Setting'), array('controller' => 'notification_settings', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Photos'), array('controller' => 'photos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Photo'), array('controller' => 'photos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Popular Informations'), array('controller' => 'popular_informations', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Popular Information'), array('controller' => 'popular_informations', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ratings'), array('controller' => 'ratings', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Rating'), array('controller' => 'ratings', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Request Lists'), array('controller' => 'request_lists', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Request List'), array('controller' => 'request_lists', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Reset Passwords'), array('controller' => 'reset_passwords', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Reset Password'), array('controller' => 'reset_passwords', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List User Pennants'), array('controller' => 'user_pennants', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User Pennant'), array('controller' => 'user_pennants', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List User Tags'), array('controller' => 'user_tags', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User Tag'), array('controller' => 'user_tags', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
	</ul>
</div>
